package com.wei.czz.common.dto.common.fileFlow;

import com.wei.czz.common.tool.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2025-03-28 16:04:34
 * className: BigFileUploadCreateDto
 * version: 1.0
 * description:
 */
@Getter
@Setter
@Accessors(chain = true)
public class FilePreUploadDto extends BaseEntity {

    /**
     * 文件编号
     */
    private Long fileNo;

    /**
     * 是否需要切片 0-需要 1-不需要
     */
    private Integer isNeedChunk;

    /**
     * 切片数量
     */
    private Integer chunkCount;

    /**
     * 切片大小
     */
    private Long chunkSize;

    /**
     * 切片序号列表
     * 按照序号依次上传
     */
    private List<Integer> chunkSerialList;

}
